package com.willawn.androidtest.test;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;
import android.widget.Toast;

public class MyService extends Service {

	@Override
	public IBinder onBind(Intent intent) {
		Log.i("SERVICE", "onBind..................");
		Toast.makeText(MyService.this, "onBind..................", Toast.LENGTH_LONG).show();
		return null;
	}

	@Override
	public void onCreate() {
		Log.i("SERVICE", "onCreate..................");
		Toast.makeText(MyService.this, "onCreate..................", Toast.LENGTH_LONG).show();
	}
	
	@Override
	public void onStart(Intent intent, int startId) {
		Log.i("SERVICE", "onStart..................");
		Toast.makeText(MyService.this, "onStart..................", Toast.LENGTH_LONG).show();
	}
	
	@Override
	public void onDestroy() {
		Log.i("SERVICE", "onDestroy..................");
		Toast.makeText(MyService.this, "onDestroy..................", Toast.LENGTH_LONG).show();
	}
}
